package com.lanjiyin.cloud.api.entity;

import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 答题记录
 * 
 * @author tudaojun
 * @email 1208386700@qq.com
 * @date 2021-07-22 11:28:22
 */
@ApiModel(value = "答题记录")
@Data
@Table(name = "ljy_zhuanshuo_answer_user_15")
public class AnswerUser implements Serializable {
	private static final long serialVersionUID = 1L;
	
	   
    @ApiModelProperty(value = "回答问的自增id")
    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;
    
			    
    @ApiModelProperty(value = "问题id")
    @Column(name = "question_id")
    private Integer question_id;
				    
    @ApiModelProperty(value = "章节id")
    @Column(name = "chapter_id")
    private Integer chapter_id;
				    
    @ApiModelProperty(value = "用户表id")
    @Column(name = "user_id")
    private Integer user_id;
				    
    @ApiModelProperty(value = "答题选项")
    @Column(name = "answer")
    private String answer;
				    
    @ApiModelProperty(value = "是否答对")
    @Column(name = "is_right")
    private Integer is_right;
				    
    @ApiModelProperty(value = "正确数")
    @Column(name = "right_count")
    private Integer right_count;
				    
    @ApiModelProperty(value = "错误数")
    @Column(name = "wrong_count")
    private Integer wrong_count;
				    
    @ApiModelProperty(value = "是否清除")
    @Column(name = "status")
    private Integer status;
				    
    @ApiModelProperty(value = "答题时间")
    @Column(name = "ctime")
    private Integer ctime;
		
}
